﻿using System.Data.Linq.Mapping;

namespace Southern.Models.Southern.Partials
{
    public class SysUserGroup
    {
        private int _GroupId;
        private int _UserId;

        [Column(Storage = "_UserId", DbType = "Int NOT NULL")]
        public int UserId
        {
            get { return _UserId; }
            set
            {
                if ((_UserId != value))
                {
                    _UserId = value;
                }
            }
        }

        [Column(Storage = "_GroupId", DbType = "Int NOT NULL")]
        public int GroupId
        {
            get { return _GroupId; }
            set
            {
                if ((_GroupId != value))
                {
                    _GroupId = value;
                }
            }
        }
    }
}